home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 August / CICA - The Ultimate Collection of Shareware for Windows (Disc 2) (August 1995).iso / disc2 / nt / source.exe / POSIX / MK-RULES / BSDDOC~1.MK next >
Text File  |  1993-06-29  |  757b  |  38 lines

  1. #    @(#)bsd.doc.mk    5.3 (Berkeley) 1/2/91
  2.  
  3. PRINTER=psc
  4.  
  5. BIB?=        bib
  6. EQN?=        deqn -P${PRINTER}
  7. GREMLIN?=    grn -P${PRINTER}
  8. GRIND?=        vgrind -f
  9. INDXBIB?=    indxbib
  10. PIC?=        pic -P${PRINTER}
  11. REFER?=        refer
  12. ROFF?=        ditroff -t ${MACROS} ${PAGES} -P${PRINTER}
  13. SOELIM?=    soelim
  14. TBL?=        dtbl -P${PRINTER}
  15.  
  16. .PATH: ${.CURDIR}
  17.  
  18. .if !target(print)
  19. print: paper.${PRINTER}
  20.     lpr -P${PRINTER} paper.${PRINTER}
  21. .endif
  22.  
  23. clean cleandir:
  24.     rm -f paper.* [eE]rrs mklog ${CLEANFILES}
  25.  
  26. FILES?=    ${SRCS}
  27. install:
  28.     install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
  29.         Makefile ${FILES} ${EXTRA} ${DESTDIR}${BINDIR}/${DIR}
  30.  
  31. spell: ${SRCS}
  32.     spell ${SRCS} | sort | comm -23 - spell.ok > paper.spell
  33.  
  34. BINDIR?=    /usr/share/doc
  35. BINGRP?=    bin
  36. BINOWN?=    bin
  37. BINMODE?=    444
  38.